package com.yjt.common.easyui.datagrid;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;

import org.hibernate.criterion.MatchMode;

import com.yjt.common.hibernate.base.AbstractDao;
import com.yjt.common.hibernate.base.DaoException;

public interface IDataGridDAO  extends AbstractDao {
	
	public DataGridJsonDTO getBeansByBeanForPager(Serializable bean, MatchMode mode,
			DataGridDTO datagrid, boolean excludeBlankValue) throws DaoException;
	
	 public Collection getBeansByParamsForPager(String hqlName, ArrayList<String> paraList,
	    		DataGridDTO datagrid)
				throws DaoException;

	public Collection getBeansByParamsForPager(String hqlName, Map<String, Object> paraMap,
		DataGridDTO datagrid) throws DaoException;
}
